package com.xmy.cultivate.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum RecruitStatusEnum {

    NO(0,"无"),
    OPEN(1,"开放"),
    FULLSTOP(2,"满班停止"),
    STOP(3,"停止");

    @EnumValue
    private Integer key;

    @JsonValue
    private String value;

    RecruitStatusEnum(Integer key, String value){
        this.key = key;
        this.value = value;
    }
}
